package com.richmond.data;

import java.util.Collection;
import java.util.Date;

/**
 * User: csavard
 * Date: 12-08-06
 * Time: 18:04
 */
public class Workday {
	private Date date;
	private String name;
	private Collection<TimeRecord> timeRecords;

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Collection<TimeRecord> getTimeRecords() {
		return timeRecords;
	}

	public void setTimeRecords(Collection<TimeRecord> timeRecords) {
		this.timeRecords = timeRecords;
	}

	@Override
	public String toString() {
		return getName();
	}
}
